<template>
  <section class="section">
    <div class="container">
      <h2 class="section-title">集团业务</h2>
      <p class="section-desc">以科技为本，助力千万企业降本增效</p>
      
      <div class="business-grid">
        <div class="business-item" v-for="(item, index) in businessItems" :key="index">
          <div class="business-icon">
            <i :class="item.icon"></i>
          </div>
          <p class="business-name">{{ item.name }}</p>
        </div>
      </div>
    </div>
  </section>
</template>

<script>
export default {
  name: 'BusinessGrid',
  data() {
    return {
      businessItems: [
        { icon: 'fas fa-database', name: '大数据' },
        { icon: 'fas fa-cloud', name: '云计算' },
        { icon: 'fas fa-brain', name: '人工智能' },
        { icon: 'fas fa-chart-line', name: '数据采集' },
        { icon: 'fas fa-desktop', name: 'BI大屏' },
        { icon: 'fas fa-cogs', name: '代运营' },
        { icon: 'fas fa-truck', name: '物流服务' },
        { icon: 'fas fa-share-alt', name: '新媒体' },
        { icon: 'fas fa-graduation-cap', name: '知识付费' },
        { icon: 'fas fa-code', name: '软件开发' }
      ]
    }
  }
}
</script>

<style scoped>
.business-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 20px;
  margin-bottom: 40px;
}

.business-item {
  text-align: center;
}

.business-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background-color: #e8f0fe;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.business-icon:hover {
  transform: translateY(-10px);
}

.business-icon i {
  font-size: 36px;
  color: #1a73e8;
}

.business-name {
  font-size: 14px;
  color: #053a70;
  font-weight: 600;
}
</style>